package com.renren.api.connect.android.photos;

import android.os.Bundle;

import com.renren.api.connect.android.Renren;
import com.renren.api.connect.android.common.RequestParam;
import com.renren.api.connect.android.exception.RenrenException;

public class PhotoGetRequestParam extends RequestParam {
	private static final String METHOD = "photos.get";
	private Long uid;
	private Long aid;

	@Override
	public Bundle getParams() throws RenrenException {
		Bundle params = new Bundle();
		params.putString("method", METHOD);
		// 默认请求返回参数为json格式，不提供设置此值的接口给用户
		params.putString("format", Renren.RESPONSE_FORMAT_JSON);
		params.putString("uid", String.valueOf(uid));
		params.putString("aid", String.valueOf(aid));
		return params;
	}
	
	public void setAid(long aid) {
		this.aid = aid;
	}
	
	public Long getAid() {
		return this.aid;
	}

	public void setUid(long uid) {
		this.uid = uid;
	}
	
	public Long getUid() {
		return this.uid;
	}
}
